[PATCH] PPC NCG: Generate clear right insn at arch width
authorPeter Trommler <ptrommler@acm.org>
Tue, 7 Nov 2023 20:47:24 +0000 (21:47 +0100)
committerIlias Tsitsimpis <iliastsi@debian.org>
Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)
commit6be51a151ffd775f556581441f87b0bdfa2c1d7a
tree34ef327386ad796c9a7a7044eb6b0ecf7dfd6c58
parenta1ca15491b75c7e75a9614fd1499292b5980d051
[PATCH] PPC NCG: Generate clear right insn at arch width

The clear right immediate (clrrxi) is only available in word and
doubleword width. Generate clrrxi instructions at architecture
width for all MachOp widths.

Fixes #24145

Gbp-Pq: Name ppc64el-fix-clrri
compiler/GHC/CmmToAsm/PPC/CodeGen.hs